﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using MYData.Entity.DomainModels.ApiEntity.Input;

namespace MYData.Entity.DTO.ApiEntity.OutPut
{
    public class ProjectExpenseBaseinfoOutput_Dto
    {
        /// <summary>
        ///经费报销ID主键
        /// </summary>
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Required(AllowEmptyStrings = false)]
        public string id { get; set; }

        /// <summary>
        ///报销科目
        /// </summary>
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Required(AllowEmptyStrings = false)]
        public string subjectName { get; set; }

        /// <summary>
        ///报销科目主键
        /// </summary>
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Required(AllowEmptyStrings = false)]
        public string subjectId { get; set; }
        /// <summary>
        ///配套经费(万元)
        /// </summary>
        [Display(Name = "配套经费(万元)")]
        [DisplayFormat(DataFormatString = "10,2")]
        [Column(TypeName = "decimal")]
        public decimal? supportMoney { get; set; }
        /// <summary>
        ///专项经费(万元)
        /// </summary>
        [Display(Name = "专项经费(万元)")]
        [DisplayFormat(DataFormatString = "10,2")]
        [Column(TypeName = "decimal")]
        public decimal specialMoney { get; set; }
        /// <summary>
        /// 审核进度
        /// </summary>
        public string? ReviewProgress { get; set; }

        /// <summary>
        /// 操作
        /// </summary>
        public string operate { get; set; }
    }
}
